package com.ruoyi.maode.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;


/**
 * 零件图片实体类
 * @author zhangwenqiang
 */
@Data
@Accessors(chain = true)
@TableName("part_image")
@ApiModel(value = "PartImage对象", description = "零部件气泡图片表")
public class PartImage {

    /**
     * 零件序号
     */
    @Excel(name = "零件序号")
    @TableId(type = IdType.AUTO)
    private Long id;

    @Excel(name = "零件ID")
    private String partId;

    @Excel(name = "图片列表")
    private String image;

    @Excel(name = "创建时间")
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
